3.211 \(\int \frac {\tanh ^{-1}(\sqrt {x})}{\sqrt {x}} \, dx\)

Optimal. Leaf size=20 \[ \log (1-x)+2 \sqrt {x} \tanh ^{-1}\left (\sqrt {x}\right ) \]

[Out]

ln(1-x)+2*arctanh(x^(1/2))*x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6097, 31} \[ \log (1-x)+2 \sqrt {x} \tanh ^{-1}\left (\sqrt {x}\right ) \]

Antiderivative was successfully verified.

[In]

Int[ArcTanh[Sqrt[x]]/Sqrt[x],x]

[Out]

2*Sqrt[x]*ArcTanh[Sqrt[x]] + Log[1 - x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 6097

Int[((a_.) + ArcTanh[(c_.)*(x_)^(n_)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*ArcTa
nh[c*x^n]))/(d*(m + 1)), x] - Dist[(b*c*n)/(d*(m + 1)), Int[(x^(n - 1)*(d*x)^(m + 1))/(1 - c^2*x^(2*n)), x], x
] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\tanh ^{-1}\left (\sqrt {x}\right )}{\sqrt {x}} \, dx &=2 \sqrt {x} \tanh ^{-1}\left (\sqrt {x}\right )-\int \frac {1}{1-x} \, dx\\ &=2 \sqrt {x} \tanh ^{-1}\left (\sqrt {x}\right )+\log (1-x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 20, normalized size = 1.00 \[ \log (1-x)+2 \sqrt {x} \tanh ^{-1}\left (\sqrt {x}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[ArcTanh[Sqrt[x]]/Sqrt[x],x]

[Out]

2*Sqrt[x]*ArcTanh[Sqrt[x]] + Log[1 - x]

________________________________________________________________________________________

fricas [A]  time = 0.58, size = 25, normalized size = 1.25 \[ \sqrt {x} \log \left (-\frac {x + 2 \, \sqrt {x} + 1}{x - 1}\right ) + \log \left (x - 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctanh(x^(1/2))/x^(1/2),x, algorithm="fricas")

[Out]

sqrt(x)*log(-(x + 2*sqrt(x) + 1)/(x - 1)) + log(x - 1)

________________________________________________________________________________________

giac [B]  time = 0.24, size = 72, normalized size = 3.60 \[ \frac {2 \, \log \left (-\frac {\sqrt {x} + 1}{\sqrt {x} - 1}\right )}{\frac {\sqrt {x} + 1}{\sqrt {x} - 1} - 1} + 2 \, \log \left (\frac {\sqrt {x} + 1}{{\left | \sqrt {x} - 1 \right |}}\right ) - 2 \, \log \left ({\left | -\frac {\sqrt {x} + 1}{\sqrt {x} - 1} + 1 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctanh(x^(1/2))/x^(1/2),x, algorithm="giac")

[Out]

2*log(-(sqrt(x) + 1)/(sqrt(x) - 1))/((sqrt(x) + 1)/(sqrt(x) - 1) - 1) + 2*log((sqrt(x) + 1)/abs(sqrt(x) - 1))
- 2*log(abs(-(sqrt(x) + 1)/(sqrt(x) - 1) + 1))

________________________________________________________________________________________

maple [A]  time = 0.02, size = 17, normalized size = 0.85 \[ \ln \left (1-x \right )+2 \arctanh \left (\sqrt {x}\right ) \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arctanh(x^(1/2))/x^(1/2),x)

[Out]

ln(1-x)+2*arctanh(x^(1/2))*x^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.31, size = 16, normalized size = 0.80 \[ 2 \, \sqrt {x} \operatorname {artanh}\left (\sqrt {x}\right ) + \log \left (-x + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctanh(x^(1/2))/x^(1/2),x, algorithm="maxima")

[Out]

2*sqrt(x)*arctanh(sqrt(x)) + log(-x + 1)

________________________________________________________________________________________

mupad [B]  time = 0.80, size = 14, normalized size = 0.70 \[ \ln \left (x-1\right )+2\,\sqrt {x}\,\mathrm {atanh}\left (\sqrt {x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(atanh(x^(1/2))/x^(1/2),x)

[Out]

log(x - 1) + 2*x^(1/2)*atanh(x^(1/2))

________________________________________________________________________________________

sympy [B]  time = 0.54, size = 87, normalized size = 4.35 \[ \frac {2 x^{\frac {3}{2}} \operatorname {atanh}{\left (\sqrt {x} \right )}}{x - 1} - \frac {2 \sqrt {x} \operatorname {atanh}{\left (\sqrt {x} \right )}}{x - 1} + \frac {2 x \log {\left (\sqrt {x} + 1 \right )}}{x - 1} - \frac {2 x \operatorname {atanh}{\left (\sqrt {x} \right )}}{x - 1} - \frac {2 \log {\left (\sqrt {x} + 1 \right )}}{x - 1} + \frac {2 \operatorname {atanh}{\left (\sqrt {x} \right )}}{x - 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(atanh(x**(1/2))/x**(1/2),x)

[Out]

2*x**(3/2)*atanh(sqrt(x))/(x - 1) - 2*sqrt(x)*atanh(sqrt(x))/(x - 1) + 2*x*log(sqrt(x) + 1)/(x - 1) - 2*x*atan
h(sqrt(x))/(x - 1) - 2*log(sqrt(x) + 1)/(x - 1) + 2*atanh(sqrt(x))/(x - 1)

________________________________________________________________________________________